package com.neuedu.outpatient01.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.outpatient01.entity.Register;
import com.neuedu.outpatient01.mapper.RegisterMapper;

@Transactional
@Service
public class RegisterServiceImpl implements RegisterService {
	@Autowired
	private RegisterMapper dao;

	@Override
	public List<Register> selectNoCheckedRegister(Register r) {
		// TODO Auto-generated method stub
		return dao.selectNoCheckedRegister(r);
	}

	@Override
	public int updatestatus(int VisitState,String CaseNumber) {
		// TODO Auto-generated method stub
		return dao.updatestatus(VisitState,CaseNumber);
	}

	@Override
	public Register inquireRegisterDate(String CaseNumber) {
		// TODO Auto-generated method stub
		return dao.inquireRegisterDate(CaseNumber);
	}

	@Override
	public List<Register> inquireRegisterimage(String idnumber) {
		// TODO Auto-generated method stub
		return dao.inquireRegisterimage(idnumber);
	}

	@Override
	public List<Register> selectNoDiagnosisRegister(Register r) {
		// TODO Auto-generated method stub
		return dao.selectNoDiagnosisRegister(r);
	}

	@Override
	public Register inquireRegister(int id) {
		// TODO Auto-generated method stub
		return dao.inquireRegister(id);
	}
}
